package com.jk.dmconsumer.service;

import com.jk.dmcommon.entity.EvaEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @描述
 * @参数 $
 * @返回值 $
 * @创建人 lgf
 * @创建时间 $
 * @修改人和其它信息
 */
@Component
@FeignClient("dmshopprovider")
public interface EvaService {

    @RequestMapping("evaluate/findEva")
    List<EvaEntity> findEva();

    @PostMapping("evaluate/add")
    void add(@RequestBody EvaEntity ev);
}
